package com.xk857.service.impl;

import com.xk857.service.RoadService;
import org.springframework.stereotype.Service;

/**
 * 关于道路的业务逻辑
 * @author sheepl
 * @Date 2021/1/22
 */
@Service
public class RoadServiceImpl implements RoadService {

    @Override
    public int roadCrowd(Integer roadId) {
        return (int)(Math.random() * (5 - 1) + 1);
    }
}
